// GSCollection_BPA.cpp: implementation of the CGSCollection_BPA class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "../../Include/Swi/GSCollection_BPA.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CGSCollection_BPA::CGSCollection_BPA()
{

}

CGSCollection_BPA::~CGSCollection_BPA()
{

}

CGS_BPA* CGSCollection_BPA::GetFirstGS()
{
	return (CGS_BPA*)CCardCollection_BPA::GetFirstCard();
}

CGS_BPA* CGSCollection_BPA::Traverse(CGS_BPA *pGS, int nDirection)
{
	return (CGS_BPA*)CCardCollection_BPA::Traverse(pGS,nDirection);
}

CGS_BPA* CGSCollection_BPA::GetGS(char *strBusName, double dkV, char nID)
{
	CGS_BPA tempGS;
	strcpy(tempGS.m_strName,strBusName);
	tempGS.m_dkV = dkV;
	tempGS.m_chID = nID;
	return (CGS_BPA*)CCardCollection_BPA::GetCard(&tempGS);
}
